var Mock = require('mockjs');

exports.response = function (req, res) {
    return Mock.mock({
        "msg": "OK",
        "code": 0,
        "data": {
            field: [
                {
                    id: "code",
                    name: "代码"
                },
                {
                    id: "name",
                    name: "简称"
                },
                {
                    id: "marketValue",
                    name: "持仓市值"
                },
                {
                    id: "money",
                    name: "日无冲击变现额"
                },
                {
                    id: "days",
                    name: "无冲击变现天数"
                }
            ],
            "list|71": [
                {
                    "code|+1": 1,
                    name: "中信证券",
                    marketValue: 744.38,
                    money: 23489.00,
                    days: 2
                }
            ]
        }
    })
}